package com.doangeometrydash.scene;

import org.andengine.entity.sprite.Sprite;

import com.doangeometrydash.base.BaseScene;
import com.doangeometrydash.manager.SceneManager.SceneType;

public class SplashScene extends BaseScene
{
	private Sprite splash;

	@Override
	public void createScene()
	{

		splash = new Sprite(mCamera.getCameraSceneWidth() / 2, mCamera.getCameraSceneHeight() / 2, mResourcesManager.splash_region, vbom);
		attachChild(splash);
	}

	@Override
	public void onBackKeyPressed()
	{

	}

	@Override
	public SceneType getSceneType()
	{

		return SceneType.SCENE_SPLASH;
	}

	@Override
	public void disposeScene()
	{

		splash.detachSelf();
		splash.dispose();
		this.detachSelf();
		this.dispose();
	}

}
